export default {
     height: 'auto',
     calcHeight: 30,
     dialogWidth: 850,
     tip: false,
     searchShow: true,
     searchMenuSpan: 6,
     border: true,
     index: true,
     viewBtn: true,
     selection: true,
     excelBtn: true,
     dialogClickModal: false,
     column: [
      {
        label: "所属网格",
        prop: "gridId",
        type: "tree",
        span: 24,
        //multiple: true,
        parent: false,
        display: true,
        
        dicMethod: "get",
        dicUrl: "/api/smart-system/dept/treeByPid",
        props: {
          label: "title"
        
        },
        checkStrictly: true,
        //slot: true,
        search: true,
        rules: [{
          required: true,
          message: "请输入所属网格",
          trigger: "click"
        }],
      },
       {
         label: "综治机构",
         prop: "orgId",
         type: "select",
         dicData: [],
         search: true,
         rules: [{
           required: true,
           message: "请输入综治机构",
           trigger: "blur"
         }],
       },
       {
         label: "姓名",
         prop: "name",
         type: "input",
         search: true,
         rules: [{
           required: true,
           message: "请输入姓名",
           trigger: "blur"
         }],
       },
       {
         label: "性别",
         prop: "sex",
         type: "select",
         dicUrl: "/api/smart-system/dict/dictionary?code=sex",
         props: {
           label: "dictValue",
           value: "dictKey"
         },
         rules: [{
           required: true,
           message: "请输入性别",
           trigger: "blur"
         }],
       },
       {
         label: "民族",
         prop: "nation",
         type: "select",
         dicUrl: "/api/smart-system/dict/dictionary?code=nation",
         props: {
           label: "dictValue",
           value: "dictKey"
         },
         hide: true,
         rules: [{
           required: true,
           message: "请输入民族",
           trigger: "blur"
         }],
       },
       {
         label: "政治面貌",
         prop: "pearty",
         type: "select",
         dicUrl: "/api/smart-system/dict/dictionary?code=party",
         props: {
           label: "dictValue",
           value: "dictKey"
         },
         hide: true,
         rules: [{
           required: true,
           message: "请输入政治面貌",
           trigger: "blur"
         }],
       },
       {
         label: "身份证号码",
         prop: "cardNo",
         type: "input",
       },
       {
         label: "出生日期",
         prop: "birthday",
         type: "date",
         format: "yyyy-MM-dd",
         valueFormat: "yyyy-MM-dd",
         hide: true,
         rules: [{
           required: true,
           message: "请输入出生日期",
           trigger: "blur"
         }],
       },
       {
         label: "级别",
         prop: "leavel",
         type: "select",
         dicUrl: "/api/smart-system/dict/dictionary?code=user_leavel",
         props: {
           label: "dictValue",
           value: "dictKey"
         },
         hide: true,
         rules: [{
           required: true,
           message: "请输入级别",
           trigger: "blur"
         }],
       },
       {
         label: "职务",
         prop: "post",
         type: "select",
         dicUrl: "/api/smart-system/dict/dictionary?code=sys_user_post",
         props: {
           label: "dictValue",
           value: "dictKey"
         },
         hide: true,
         rules: [{
           required: true,
           message: "请输入职务",
           trigger: "blur"
         }],
       },
       
       {
         label: "学历",
         prop: "education",
         type: "select",
         dicUrl: "/api/smart-system/dict/dictionary?code=education",
         props: {
           label: "dictValue",
           value: "dictKey"
         },
         hide: true,
         rules: [{
           required: true,
           message: "请输入学历",
           trigger: "blur"
         }],
       },
       {
         label: "特长",
         prop: "specialty",
         type: "checkbox",
         span: 24,
         dicUrl: "/api/smart-system/dict/dictionary?code=sys_user_specialty",
         props: {
           label: "dictValue",
           value: "dictKey"
         },
         hide: true,
       },
       
       {
        label: "手机号码",
        prop: "phone",
        type: "input",
        rules: [{
          required: true,
          message: "请输入手机号码",
          trigger: "blur"
        }],
      },
      {
        label: "固定电话",
        prop: "telephone",
        type: "input",
        hide: true,
      }
       
     ]
}
